<?php
require_once MODEL_PATH.DS.'Album.php';
$Album = new Album();
$album_id = isset($_GET['album_id'])?(int)$_GET['album_id']:'';
if(!empty($album_id)){
	$photo_list = $Album->getPhotoListByAlbumId($album_id);

	$tpl->assign('photo_list',$photo_list);
	$tpl->display('shop_view.tpl');
}
?>